package com.thoughtworks;

public class Book implements Rental{
    public String bookName;
    public String authorName;
    public int yearOfPublication;

    public Book(String bookName, String authorName, int yearOfPublication)
    {
        this.bookName=bookName;
        this.authorName=authorName;
        this.yearOfPublication=yearOfPublication;
    }

    public String getName() {
        return bookName;
    }


}
